package com.hehao.java_basic.lambda;

public class LambdaDemo {

    public static void main(String[] args) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("normal create new thread");
            }
        }).start();

        new Thread(()-> System.out.println("lambda create new thread")).start();
    }
}
